package com.sky.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;
@ApiModel(value = "分页查询结果对象")
@Data
@NoArgsConstructor
@AllArgsConstructor(staticName = "of")
public class pageResultVO<T> implements Serializable {
    @ApiModelProperty("总记录数")
    private Long total;//总记录数
    @ApiModelProperty("分页查询结果列表")
    private List<T> records;//分页查询结果列表
}
